home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.19950528-19950726 / 000111_news@columbia.edu_Sat Jun 10 12:55:38 1995.msg < prev    next >
Internet Message Format  |  2020-01-01  |  3KB

  1. Received: from apakabar.cc.columbia.edu by watsun.cc.columbia.edu with SMTP id AA20412
  2.   (5.65c+CU/IDA-1.4.4/HLK for <kermit.misc@watsun.cc.columbia.edu>); Sun, 11 Jun 1995 04:20:34 -0400
  3. Received: by apakabar.cc.columbia.edu id AA09590
  4.   (5.65c+CU/IDA-1.4.4/HLK for kermit.misc@watsun); Sun, 11 Jun 1995 04:20:32 -0400
  5. Path: news.columbia.edu!panix!news.mathworks.com!news.bluesky.net!news.sprintlink.net!cs.utexas.edu!news.cs.utah.edu!cc.usu.edu!jrd
  6. From: jrd@cc.usu.edu (Joe Doupnik)
  7. Newsgroups: comp.protocols.kermit.misc
  8. Subject: Re: Problem with ASK in adapting script to ethernet.
  9. Message-Id: <1995Jun10.185538.53818@cc.usu.edu>
  10. Date: 10 Jun 95 18:55:38 MDT
  11. References: <10JUN95.15341792@uwpg02.uwinnipeg.ca>
  12. Organization: Utah State University
  13. Lines: 63
  14. Apparently-To: kermit.misc@watsun.cc.columbia.edu
  15.  
  16. In article <10JUN95.15341792@uwpg02.uwinnipeg.ca>, clark@uwpg02.uwinnipeg.ca (Jim Clark) writes:
  17. > Hi
  18. >      I am revising a Kermit script that worked fine with a serial line for use
  19. > on ethernet network.  The program, shown below, offers menu of choices and then
  20. > performs initial login operations.  Problem is that the ASK command used to get
  21. > input from user now seems to hang up the program.  Has anyone else had this
  22. > problem and found a solution?  I tried various things, including moving the
  23. > TAKE that retrieves the internet addresses after the ASK, but nothing seems to
  24. > work.  Things seem to work OK if I remark out the problematic line and use
  25. > ASSIGN to set the variable (\%v) for the selection.  Any suggestions
  26. > appreciated (even if I've overlooked something amazingly simple ... which has
  27. > never happened before, of course).
  28. > Best Wishes
  29. > Jim
  30. > James M. Clark                  CLARK@UWPG02.BITNET  (note ZERO-TWO)
  31. > Department of Psychology        CLARK@UWPG02.UWINNIPEG.CA
  32. > University of Winnipeg          (204) 786-9313
  33. > Winnipeg, Manitoba, Canada      (204) 786-1824 FAX
  34. > R3B 2E9
  35. > take c:\net\ipset.ini
  36. > ; menu
  37. >   echo ************************************
  38. >   echo B - Bridge (UofM and UofW libraries)
  39. >   echo M - Manitoba IBM Mainframe (UofM)
  40. >   echo U - Unix (UofW IO)
  41. >   echo V - Vax (UofW)
  42. >   echo ************************************
  43. >   echo
  44. > ;script hangs up at following ASK
  45. > ;input accepted and assigned to variable but then nothing
  46. > ;on <Enter>, cursor moves to beginning of input prompt
  47. > ;any additional characters typed overtype prompt
  48. > ;next return ends up at Kermit prompt
  49. > ;everything works OK if ASSIGN used for fixed value of \%v
  50. >   ask \%v Type letter of choice, then <Enter>?\32
  51. > ; choose subroutine
  52. >   if equal \%v b goto bridge
  53. >   if equal \%v m goto uman
  54. >   if equal \%v u goto io
  55. >   if equal \%v v goto vax
  56. >   stop                             ; end script if no match
  57. > :bridge                            ; Bridge / UofM Library logon
  58. >   SET PORT TCP umopac.umanitoba.ca
  59. >   connect
  60. >   input UML=>
  61. >   output set lib uow\13
  62. >   goto end
  63. ---------
  64.     I don't think you want CONNECT before the script login particulars.
  65. Recall that CONNECT is a mode and won't be left until the user decides to
  66. do so. Scripts do NOT run in Connect mode. INPUT/OUTPUT do an automatic
  67. comms channel startup so they can perform their jobs.
  68.     Joe D.